package com.example.ailiyuncloud.vo;

import lombok.Data;

import java.util.List;

/**
 * @Author: lqj
 * @Date: 2024-06-16 14:06:40
 * @Description: 查询商品分期VO
 */
@Data
public class QueryCommodityByStagesVO {

    /**
     * 分期服务ID
     */
    private List<Long> byId;

    /**
     * 商品SKU_ID
     */
    private List<String> skuId;


    public boolean isEmpty() {
        return (skuId == null || skuId.isEmpty()) &&
                (byId == null || byId.isEmpty());
    }
}
